using System;
using System.Collections.Generic;
using System.Text;

using VirtualOps.Vix;

namespace CSConsole
{
  class Program
  {
    static void Main(string[] args)
    {
      try
      {
        VixServer server = new VixServer();
        server.Uri = "";
        server.Connect("", "");
        //server.GetAllVms();
        VirtualMachine vm = server.GetVmByPath("c:\\Virtual Machines\\DamnSmallLinux\\other.vmx");
        vm.Start();
        server.Disconnect();
      }
      catch (Exception e)
      {
        Console.WriteLine(e.Message);
      }
      Console.ReadLine();
    }
  }
}
